Skip to content

fix: 修复 Vite 高危安全告警 - #46

Merged
coding-back01 merged 1 commit into
masterfrom
codex/vite-security-fix
Aug 24, 2026
Merged

fix: 修复 Vite 高危安全告警#46
coding-back01 merged 1 commit into
masterfrom
codex/vite-security-fix

Conversation

@coding-back01

Copy link
Copy Markdown
Owner

变更

RED / GREEN

  • RED:旧清单为 vite ^5.4.8,不满足安全下限;@vitejs/plugin-vue ^5.1.4 的最低版本不支持 Vite 6
  • GREEN:固定 pnpm 9.15.9 实际解析为 Vite 6.4.3、plugin-vue 5.2.4,严格 peer dependency 安装通过

验证

  • pnpm@9.15.9 type-check:通过
  • pnpm@9.15.9 build:通过,Vite 6.4.3 构建 1644 个模块
  • pnpm@9.15.9 exec eslint .:仍为既有基线 2 个错误、0 个 warning,未新增错误
  • openspec validate --all --strict:3/3 通过
  • git diff --check:通过
  • pnpm audit:因仓库尚无 pnpm-lock.yaml 无法运行,未将其描述为通过

安全边界

本 PR 仅处理 GHSA-fx2h-pf6j-xcffGHSA-v6wh-96g9-6wx3GHSA-4w7w-66w2-5vf9。合并并读回 Dependabot 告警关闭前,OpenSpec PR 2 保持阻断。

@coding-back01
coding-back01 marked this pull request as ready for review August 24, 2026 12:25
@coding-back01
coding-back01 merged commit 57320b3 into master Aug 24, 2026
1 check passed
@coding-back01
coding-back01 deleted the codex/vite-security-fix branch August 30, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant